package me.spring.cloud.components.starter.httplog;

import me.spring.cloud.components.starter.httplog.configuration.AspectLogConfiguration;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * 开启服务间调用日志
 *
 * @author luffy
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableAspectJAutoProxy//启用AspectJ自动代理
@Import(AspectLogConfiguration.class)
public @interface EnableHttpLog {
}
